@font-face {
  font-family: VolvoNovum;
  src: url(./assets/fonts/volvo-novum-medium.woff2) format(woff2);
}
.ec40 {
  background: #010101;
}
.ec40 h1 {
  text-shadow: 2px 2px 12px rgb(0 0 0 / 100%);
}
.ec40 img {
  box-shadow: 0px 0px 10px 4px rgba(255, 255, 255, 0.1);
}
.ex30cc {
  background: #86837e;
}
html {
  font-family: VolvoNovum;
  margin: 0;
  background: #e5d3ca;
}
body {
  position: relative;
  margin: 0;
/*  top: 0.5rem;*/
}
main {
  position: relative;
}
h1 {
  font-size: 3.5rem;
  position: relative;
  margin: 0;
  position: absolute;
  z-index: 999;
  /* transform: translateX(-50%); */
  left: 1rem;
  top: 0.5rem;
  color: white;
  text-shadow: 2px 2px 12px rgb(0 0 0 / 40%);
}
.button {
  display: flex;
  position: relative;
  cursor: pointer;
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 1.5rem;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 10%,
    rgba(38, 38, 38, 0.01) 80%
  );
  
}
.offer-button {
     position: absolute;
    right: 0.9rem;
    bottom: 50.5%;
    font-size: 2rem;
    padding: 1.5rem;
    /* border: solid 4px rgb(243 243 243 / 44%); */
    background: #0f0f0f;
    border-radius: 0.5rem;
    height: fit-content;
    color: white;
    z-index: 999;
    text-decoration: none;
    line-height: 1;
    box-shadow: -2px -2px 12px 5px rgba(0, 0, 0, 0.5);
}
.offer-button-bg{position: absolute;
    height: 5.7rem;
    width: 270px;
    right: 0.5rem;
    bottom: 50.2%;
    background: #86837e;
    z-index: 99;
    border-radius: 0.75rem 0rem 0 0rem;
    }
img {
  position: relative;
  width: 100%;
  /* height: 33.3333vh; */
  border-radius: 1.5rem;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.1);
}
h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-weight: normal;
  bottom: 1rem;
  font-size: 2rem;
  z-index: 999;
  width: max-content;
  color: white;
  text-shadow: 2px 2px 16px #000000;
}
.badge {
  position: absolute;
  left: 1rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: initial;
  bottom: 1rem;
  text-align: left;
  z-index: 999;
  color: white;
  text-shadow: 2px 2px 16px #000000;
}
/* section{
    display: flex;
    flex-direction: column;
    gap: 0rem;
    height: 100vh;
    position: relative;
} */
section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  box-sizing: border-box;
  height: calc(100dvh);
  padding: 0.5rem;
  position: relative;
  grid-template-rows: 1fr 1fr;
  background: #e5d3ca;
}
.button.first {
  grid-column-end: 3;
  grid-column-start: 1;
}
.button.first h2 {
  left: 1rem;
  bottom: 4rem;
  transform: translateX(0);
}
.ex30cc .button.first h2{bottom: 1rem;}
